import request from "../utils/index"

 //获取投诉列表
export function gettoushu(data?: object) {
    return request({
        method: 'POST',
        url: "http://localhost:3001/lf/toushuList",
        data
    })
}
//获取当前作品
export function getDatalist(data?: object) {
    return request({
        method: 'POST',
        url: "http://localhost:3001/lf/dataLsitTons",
        data
    })
} 

// 通过的信息
export function tonsgguo(data?: object) {
    // console.log(data,'通过的信息');
    return request({
        method: 'POST',
        url: "http://localhost:3001/lf/tijiaoxinxi",
        data
    })
} 
// 不通过信息
export function chaugndio(data?: object) {
    console.log(data,'不通过信息');
    return request({
        method: 'POST',
        url: "http://localhost:3001/lf/botongduoxis",
        data
    })
} 
//投诉作品下架-
export function remocexiajai(data?: object) {
    console.log(data,'不通过信息');
    return request({
        method: 'POST',
        url: "http://localhost:3001/lf/datalsiterea",
        data
    })
} 

//删除投诉信息
export function removecomplater(data?: object) {
    console.log(data,'不通过信息');
    return request({
        method: 'POST',
        url: "http://localhost:3001/lf/removeComplaint",
        data
    })
} 